﻿using System;
using System.Collections.Generic;
using System.Text;

namespace reactiveBT.Utilities
{
    public class Utils
    {
        public static float Random(float from,float to)
        {
            var RandomNumBuilder = new Random();
            var result = RandomNumBuilder.NextDouble();
            result = result * (to - from) + from;
            return (float)result;
        }
        public static bool IsEmptyString(string str)
        {
            return str == null || str.Length == 0;
        }
    }
}
